package com.afdor.rws.event.driven.channel.aliyun.mns.config;

import com.afdor.rws.annotation.extension.Extension;
import com.afdor.rws.annotation.extension.SPI;
import com.afdor.rws.event.driven.channel.aliyun.mns.utils.AliyunMnsUtils;
import com.afdor.rws.event.driven.config.EventProducerConfig;
import lombok.Data;
import lombok.NonNull;

import java.io.Serializable;

/**
 * 阿里云MNS(消息服务) 生成者相关配置<br/>
 * Extension : prototype
 *
 * @author 悭梵
 * @date Created in 2018-11-21 15:45
 */
@Data
@SPI(AliyunMnsUtils.DEFAULT_COMPONENT_CONFIG_EXTENSION_NAME)
@Extension(value = AliyunMnsUtils.DEFAULT_COMPONENT_CONFIG_EXTENSION_NAME, scope = Extension.Scope.PROTOTYPE, interfaceClass = EventProducerConfig.class)
public class AliyunMnsEventProducerConfig extends EventProducerConfig<AliyunMnsEventConfig> implements Serializable, Cloneable {

    public AliyunMnsEventProducerConfig() {
        super();
    }

    public AliyunMnsEventProducerConfig(@NonNull final AliyunMnsEventConfig eventConfig) {
        super(eventConfig);
    }
}
